package com.hongxun.modules.csg.entity.dxf;

/**
 * Created by xiaoji on 2016/4/6.
 * 文字
 */
public class Text {
    public String id;//句柄
    public String x10;//第一对齐点X值
    public String y20;//第一对齐点Y值
    public String z30="0.0";//第一对齐点Z值
    public String text="";//内容
    public String size="2";//文字大小
    private String stroke62="250";//颜色
    private String rotationAngle="0";//选择角度

    public Text(String x10, String y20, String text, String size) {
        this.x10 = Double.parseDouble(x10)* Dxf.xishu+"";
        this.y20 = Double.parseDouble(y20)* Dxf.xishu+"";
        this.text = text;
        this.size = size;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getX10() {
        return x10;
    }

    public void setX10(String x10) {
        this.x10 = x10;
    }

    public String getY20() {
        return y20;
    }

    public void setY20(String y20) {
        this.y20 = y20;
    }

    public String getZ30() {
        return z30;
    }

    public void setZ30(String z30) {
        this.z30 = z30;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getStroke62() {
        return stroke62;
    }

    public void setStroke62(String stroke62) {
        this.stroke62 = stroke62;
    }

    public String getRotationAngle() {
        return rotationAngle;
    }

    public void setRotationAngle(String rotationAngle) {
        this.rotationAngle = rotationAngle;
    }
}
